
 
$(function(){

	YuXi.InfoQuery.init({	
		url:"TaskDispatchtFilter/taskDispatchList.do",
		query:{
				currentPage:1
  				
			},					
		success:function(data){					
				YuXi.Render.InformationSeach(data.list,5,"任务派遣");//调用信息查询的页面渲染模块
			},
			getQueryParm:function(){
						var query={};
						query={
							
							currentPage:1
						}
						YuXi.InfoQuery.queryData=YuXi.ALLSearch.base(query);
					},
				error:function(){},
				/* selector:{
					nextPage:$("#nextPage"),
					prevPage:$("#prevPage"),
					firstPage:$("#headPage"),
					lastPage:$("#endPage"),
					totalPage:$("#totalPage")
					此项为默认项
				}	 */
		});		
  //跳转到详情界面
  $(document).on("click",".detail",function(){
	  var id= $(this).attr("data-id");
		var menuId=13;
		window.location.href = '../information/subDetailInfo.jsp?menuId='+menuId+'&detailId=' + id;
	
  })
 
  //跳转到修改页面
  $(document).on("click",".update",function(){
	  	var id= $(this).attr("data-id");
		var flowId= $(this).attr("data-flowId");
		var menuId=13;
		window.location.href='taskDispatch.jsp?updateId=' + id + '&flowId=' + flowId+"&menuId="+menuId;
		
  })
 

  

})
